package com.bjpowernode.crm.workbench.mapper;

import com.bjpowernode.crm.workbench.domain.Clue;

import java.util.List;
import java.util.Map;

public interface ClueMapper {
    int deleteByPrimaryKey(String id);

    int insert(Clue record);

    int insertSelective(Clue record);

    Clue selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Clue record);

    int updateByPrimaryKey(Clue record);

    /**
     * 根据条件查询线索列表数据
     * @param param
     * @return
     */
    List<Clue> selectByClueListByCondition(Map<String, Object> param);

    int deleteClueByIds(String[] ids);

    Clue selectClueDetaiById(String id);
}
